<template>
    <section class="wrapper">
      <myHeader :obj="myObj" @events="events"></myHeader>
      <main>
        <div class="nameCardWrap_0312">
          <div class="nameCard_0313">
            <div class="face_0313"></div>
            <div class="personInfo_0313">
              <p class="p1_0313"><span>刘宏</span> 人力资源总裁、国企培训讲师</p>
              <p class="p2_0313">擅长领域：企业培训、公司文化建立</p>
            </div>
          </div>
        </div>
        <div class="selTitle_0313">选择该行家话题</div>
        <div class="itemWrap_0313">
          <div class="themeItem_0313">
            <div class="itemText_0313">关于产品新手的攻略</div>
            <div class="isSelect_0313 activeBlue_0315"></div>
          </div>
          <div class="themeItem_0313">
            <div class="itemText_0313">一次会谈进阶高级</div>
            <div class="isSelect_0313"></div>
          </div>
        </div>
        <router-link to="/indentCourse"><button class="send_0313">提交</button></router-link>
        

      </main>

    </section>
</template>
<script>
import myHeader from './base/myHeader';
export default {
  data () {
    return {
      myObj: {
        type: 2,
        text: '求见行家'
      }
      
    }
  },
  methods: {
    events(i){
      if(i == 2) {
        history.back();
      }
      
    },
  },
  components: {
    myHeader
  }
}

</script>
<style lang="less">
  .wrapper {
    width: 3.75rem;
    height: 100%;
    main {
      width: 3.75rem;
      height: 100%;
      padding-top: .44rem;
      position: absolute;
      top: 0;
      left: 0;
      overflow-y: auto;
      box-sizing: border-box;
      .send_0313 {
        width: 3.35rem;
        height: .47rem;
        display: block;
        border: none;
        background: #557AFF;
        color: white;
        font-size: .18rem;
        margin: .9rem auto .4rem;
        border-radius: .05rem;
      }
      .itemWrap_0313 {
        padding: 0 .15rem;
        background: white;
        .themeItem_0313 {
          height: .53rem;
          display: flex;
          align-items: center;
          justify-content: space-between;
          padding: .1rem 0;
          box-sizing: border-box;
          color: black;
          font-size: .17rem;
          background: white;
          font-weight: 600;
          border-bottom: .01rem solid #E5E5E5;
          &:nth-last-child(1) {
            border-bottom: none;
          }
          .itemText_0313 {
            width: 2.5rem;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
          }
          .isSelect_0313 {
            width: .2rem;
            height: .2rem;
            background: url('../assets/img/group/no-select.png') center center;
            background-size: cover;
            background-repeat: no-repeat;
          }
          .activeBlue_0315 {
            background: url('../assets/img/expert/icon_yes@3x.png') center center;
            background-size: cover;
            background-repeat: no-repeat;
          }
        }

      }
      
      
      .selTitle_0313 {
        padding: .15rem;
        font-size: .13rem;
        color: #999999;
        background: white;
      }
      .nameCardWrap_0312 {
        width: 100%;
        height: .82rem;
        background: white;
        padding: .16rem .15rem 0;
        box-sizing: border-box;
        .nameCard_0313 {
          width: 3.45rem;
          display: flex;
          height: .65rem;
          border-bottom: .01rem solid #E5E5E5;
          .face_0313 {
            width: .42rem;
            height: .42rem;
            border-radius: 50%;
            background: #EBEBEB;
          }
          .personInfo_0313 {
            width: 2.6rem;
            padding-left: .15rem;
            .p1_0313 {
              width: 2.6rem;
              height: .16rem;
              font-size: .12rem;
              color: #828282;
              overflow: hidden;
              text-overflow:ellipsis;
              white-space: nowrap;
              span {
                font-size: .14rem;
                line-height: .16rem;
                color: #39393D;
                padding-right: .04rem;
                font-weight: 500
              }
            }
            .p2_0313 {
              width: 2.6rem;
              padding-top: .08rem;
              font-size: .14rem;
              color: #555555;
              font-weight: bold;
              overflow: hidden;
              text-overflow:ellipsis;
              white-space: nowrap;
            }
          }
        }
      }
    }

  }
</style>
